package com.woniu.airent.mapper;

import com.woniu.airent.dto.HouseDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SearchMapMapper {

    List<HouseDto> findHouseByMap(@Param("areaName") String areaName,
                                  @Param("house") String house,
                                  @Param("maxMoney") int maxMoney,
                                  @Param("minMoney") int minMoney,
                                  @Param("maxArea") int maxArea,
                                  @Param("minArea") int minArea);
}
